<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2009-07-17 19:08</span></dd>
    <dt>Directory Deleted:</dt>
    <dd><span class="date">2010-05-25 22:57</span></dd>
    <dt>Total Files:</dt>
    <dd>0</dd>
    <dt>Deleted Files:</dt>
    <dd>11</dd>
    <dt>Lines of Code:</dt>
    <dd>0</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<a href="dir_omnidroid.html">omnidroid</a>/<a href="dir_omnidroid_src.html">src</a>/<a href="dir_omnidroid_src_edu.html">edu</a>/<a href="dir_omnidroid_src_edu_nyu.html">nyu</a>/<a href="dir_omnidroid_src_edu_nyu_cs.html">cs</a>/<a href="dir_omnidroid_src_edu_nyu_cs_omnidroid.html">omnidroid</a>/<a href="dir_omnidroid_src_edu_nyu_cs_omnidroid_ui.html">ui</a>/<a href="dir_omnidroid_src_edu_nyu_cs_omnidroid_ui_simple.html">simple</a>/<strong>model</strong><br/>
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module_omnidroid_src_edu_nyu_cs_omnidroid_ui_simple_model.png" alt="omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>39 (100.0%)</td>
        <td>208 (100.0%)</td>
        <td>5.3</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="user_markww.html" class="author">markww</a></th>
        <td>26 (66.7%)</td>
        <td>139 (66.8%)</td>
        <td>5.3</td>
      </tr>
      <tr  class="even">
        <th><a href="user_beanxlj.html" class="author">beanxlj</a></th>
        <td>2 (5.1%)</td>
        <td>69 (33.2%)</td>
        <td>34.5</td>
      </tr>
      <tr  class="odd">
        <th><a href="user_case.andrew.html" class="author">case.andrew</a></th>
        <td>11 (28.2%)</td>
        <td>0 (0.0%)</td>
        <td>0.0</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="10"></a>
    <a href="user_case.andrew.html" class="author">case.andrew</a>
    <span class="date">2010-05-25 22:57</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">704</span></span>
  </dt>
  <dd>
    <p class="comment">
Removing old unused directories.
    </p>
    <p class="commitdetails"><strong>0</strong> lines of code changed in <span class="files">11 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelAction.java&#160;<span class="del">(del)</span>,
        ModelApplication.java&#160;<span class="del">(del)</span>,
        ModelAttribute.java&#160;<span class="del">(del)</span>,
        ModelEvent.java&#160;<span class="del">(del)</span>,
        ModelFilter.java&#160;<span class="del">(del)</span>,
        ModelItem.java&#160;<span class="del">(del)</span>,
        ModelParameter.java&#160;<span class="del">(del)</span>,
        ModelRuleAction.java&#160;<span class="del">(del)</span>,
        ModelRuleFilter.java&#160;<span class="del">(del)</span>,
        Rule.java&#160;<span class="del">(del)</span>,
        RuleNode.java&#160;<span class="del">(del)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="9"></a>
    <a href="user_beanxlj.html" class="author">beanxlj</a>
    <span class="date">2010-05-05 08:59</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">673</span></span>
  </dt>
  <dd>
    <p class="comment">
 
    </p>
    <p class="commitdetails"><strong>66</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelApplication.java&#160;<span class="change">(+66)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_beanxlj.html" class="author">beanxlj</a>
    <span class="date">2010-04-14 23:44</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">669</span></span>
  </dt>
  <dd>
    <p class="comment">
added timeTickEvnet, parameter support multiple tags
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelFilter.java&#160;<span class="change">(+3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-08-01 12:10</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">614</span></span>
  </dt>
  <dd>
    <p class="comment">
changed model [int] values to [long].
    </p>
    <p class="commitdetails"><strong>22</strong> lines of code changed in <span class="files">10 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelAction.java&#160;<span class="change">(+1&#160;-1)</span>,
        ModelApplication.java&#160;<span class="change">(+1&#160;-1)</span>,
        ModelAttribute.java&#160;<span class="change">(+5&#160;-5)</span>,
        ModelEvent.java&#160;<span class="change">(+1&#160;-1)</span>,
        ModelFilter.java&#160;<span class="change">(+1&#160;-1)</span>,
        ModelItem.java&#160;<span class="change">(+3&#160;-3)</span>,
        ModelParameter.java&#160;<span class="change">(+5&#160;-5)</span>,
        ModelRuleAction.java&#160;<span class="change">(+1&#160;-1)</span>,
        ModelRuleFilter.java&#160;<span class="change">(+1&#160;-1)</span>,
        Rule.java&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-08-01 09:08</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">611</span></span>
  </dt>
  <dd>
    <p class="comment">
Added support for giving a rule a name and a description. When the user saves a rule, they are now prompted with a dialog asking for a name and description.
    </p>
    <p class="commitdetails"><strong>11</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        Rule.java&#160;<span class="change">(+11)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-07-30 17:13</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">600</span></span>
  </dt>
  <dd>
    <p class="comment">
Bug fix for ui/simple/model/Rule class. The correct number of filter branches/actions was not being returned in some cases. Added a new test (RuleTest.java) to check for different filter/action combinations and that they return the correct number of filters/actions.
    </p>
    <p class="commitdetails"><strong>17</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        Rule.java&#160;<span class="change">(+17&#160;-12)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-07-30 11:01</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">598</span></span>
  </dt>
  <dd>
    <p class="comment">
Added ModelParameter, made changes to UIDbHelper to support save and load of Rules.
    </p>
    <p class="commitdetails"><strong>52</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelAction.java&#160;<span class="change">(+11&#160;-1)</span>,
        ModelParameter.java&#160;<span class="new">(new&#160;41)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-07-27 15:21</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">591</span></span>
  </dt>
  <dd>
    <p class="comment">
Added ActivitySavedRules which shows the user a list of all saved rules on their system. They can then view the full rule by being moved to ActivityChooseFiltersAndActions. Added a new member variable to the Rule class called 'isEnabled'. RuleBuilder now has two methods for initializing, from a root event (brand new rule), or from a saved rule (editing an existing rule).
    </p>
    <p class="commitdetails"><strong>11</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        Rule.java&#160;<span class="change">(+11)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-07-24 16:34</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">581</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed bug in Rule.getActions() where the returned ModelRuleAction array would be incorrect. Also added comments to UIDbHelper.java for where we probably need to add some additional code to make sure the Rule gets saved to the database correctly.
    </p>
    <p class="commitdetails"><strong>6</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        Rule.java&#160;<span class="change">(+6&#160;-6)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_markww.html" class="author">markww</a>
    <span class="date">2009-07-17 19:08</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">562</span></span>
  </dt>
  <dd>
    <p class="comment">
Adding UI representations of core model objects. These will be used to let the user interact with rule data stored in the database.
    </p>
    <p class="commitdetails"><strong>20</strong> lines of code changed in <span class="files">10 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>omnidroid/src/edu/nyu/cs/omnidroid/ui/simple/model</strong>:
        ModelAction.java&#160;<span class="new">(new&#160;1)</span>,
        ModelApplication.java&#160;<span class="new">(new&#160;1)</span>,
        ModelAttribute.java&#160;<span class="new">(new&#160;5)</span>,
        ModelEvent.java&#160;<span class="new">(new&#160;1)</span>,
        ModelFilter.java&#160;<span class="new">(new&#160;1)</span>,
        ModelItem.java&#160;<span class="new">(new&#160;3)</span>,
        ModelRuleAction.java&#160;<span class="new">(new&#160;1)</span>,
        ModelRuleFilter.java&#160;<span class="new">(new&#160;1)</span>,
        Rule.java&#160;<span class="new">(new&#160;6)</span>,
        RuleNode.java&#160;<span class="new">(new)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>